#ifndef AXBOPENGLWIDGET_H
#define AXBOPENGLWIDGET_H

#include <QOpenGLWidget>
#include <QOpenGLFunctions_3_3_Core>

class AXBOpenGLWidget : public QOpenGLWidget, QOpenGLFunctions_3_3_Core
{
    Q_OBJECT
public:
    explicit AXBOpenGLWidget(QWidget *parent = nullptr);
protected:
    virtual void initializeGL();
    virtual void resizeGL(int w, int h);
    virtual void paintGL();

    int initVaoVboEbo(unsigned int *vao, unsigned int *vbo, float *vertices, int len_vertices);
    int initShader(unsigned int *shaderProgram, const char *vertexShaderSource, const char *fragmentShaderSource);
    unsigned int shaderProgram_1;
    unsigned int shaderProgram_2;

signals:

};

#endif // AXBOPENGLWIDGET_H
